package com.tencreat.domain.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 现金积分支付入参
 * @author zixin
 */
@Data
public class CashIntegralPayDTO {

    @ApiModelProperty("订单号")
    @NotNull(message = "订单号不能为空")
    @NotEmpty(message = "订单号不能为空")
    private String orderSn;

    @ApiModelProperty("支付密码")
    @NotNull(message = "支付密码不能为空")
    @NotEmpty(message = "支付密码不能为空")
    private String payPassword;

}
